package com.example.zhang.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.Map;

@Mapper
public interface CabinetMapper {
    Map<String, Object> selectCabinetStatus();
    int updateDrawerStatus(@Param("status") String status);
    int updateCompressorStatus(@Param("status") int status);
    int updateSetTemp(@Param("value") double value);
    int updateParams(@Param("params") String params);
    int updateCurrentTemperature(@Param("temperature") double temperature);
} 